package net.yunxinyong.cec.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class EcnomicBrancesExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public EcnomicBrancesExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andEcnomicIdIsNull() {
            addCriterion("ecnomic_id is null");
            return (Criteria) this;
        }

        public Criteria andEcnomicIdIsNotNull() {
            addCriterion("ecnomic_id is not null");
            return (Criteria) this;
        }

        public Criteria andEcnomicIdEqualTo(Long value) {
            addCriterion("ecnomic_id =", value, "ecnomicId");
            return (Criteria) this;
        }

        public Criteria andEcnomicIdNotEqualTo(Long value) {
            addCriterion("ecnomic_id <>", value, "ecnomicId");
            return (Criteria) this;
        }

        public Criteria andEcnomicIdGreaterThan(Long value) {
            addCriterion("ecnomic_id >", value, "ecnomicId");
            return (Criteria) this;
        }

        public Criteria andEcnomicIdGreaterThanOrEqualTo(Long value) {
            addCriterion("ecnomic_id >=", value, "ecnomicId");
            return (Criteria) this;
        }

        public Criteria andEcnomicIdLessThan(Long value) {
            addCriterion("ecnomic_id <", value, "ecnomicId");
            return (Criteria) this;
        }

        public Criteria andEcnomicIdLessThanOrEqualTo(Long value) {
            addCriterion("ecnomic_id <=", value, "ecnomicId");
            return (Criteria) this;
        }

        public Criteria andEcnomicIdIn(List<Long> values) {
            addCriterion("ecnomic_id in", values, "ecnomicId");
            return (Criteria) this;
        }

        public Criteria andEcnomicIdNotIn(List<Long> values) {
            addCriterion("ecnomic_id not in", values, "ecnomicId");
            return (Criteria) this;
        }

        public Criteria andEcnomicIdBetween(Long value1, Long value2) {
            addCriterion("ecnomic_id between", value1, value2, "ecnomicId");
            return (Criteria) this;
        }

        public Criteria andEcnomicIdNotBetween(Long value1, Long value2) {
            addCriterion("ecnomic_id not between", value1, value2, "ecnomicId");
            return (Criteria) this;
        }

        public Criteria andBrancesTypeIsNull() {
            addCriterion("brances_type is null");
            return (Criteria) this;
        }

        public Criteria andBrancesTypeIsNotNull() {
            addCriterion("brances_type is not null");
            return (Criteria) this;
        }

        public Criteria andBrancesTypeEqualTo(Integer value) {
            addCriterion("brances_type =", value, "brancesType");
            return (Criteria) this;
        }

        public Criteria andBrancesTypeNotEqualTo(Integer value) {
            addCriterion("brances_type <>", value, "brancesType");
            return (Criteria) this;
        }

        public Criteria andBrancesTypeGreaterThan(Integer value) {
            addCriterion("brances_type >", value, "brancesType");
            return (Criteria) this;
        }

        public Criteria andBrancesTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("brances_type >=", value, "brancesType");
            return (Criteria) this;
        }

        public Criteria andBrancesTypeLessThan(Integer value) {
            addCriterion("brances_type <", value, "brancesType");
            return (Criteria) this;
        }

        public Criteria andBrancesTypeLessThanOrEqualTo(Integer value) {
            addCriterion("brances_type <=", value, "brancesType");
            return (Criteria) this;
        }

        public Criteria andBrancesTypeIn(List<Integer> values) {
            addCriterion("brances_type in", values, "brancesType");
            return (Criteria) this;
        }

        public Criteria andBrancesTypeNotIn(List<Integer> values) {
            addCriterion("brances_type not in", values, "brancesType");
            return (Criteria) this;
        }

        public Criteria andBrancesTypeBetween(Integer value1, Integer value2) {
            addCriterion("brances_type between", value1, value2, "brancesType");
            return (Criteria) this;
        }

        public Criteria andBrancesTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("brances_type not between", value1, value2, "brancesType");
            return (Criteria) this;
        }

        public Criteria andBrancesSocialCreditCodeIsNull() {
            addCriterion("brances_social_credit_code is null");
            return (Criteria) this;
        }

        public Criteria andBrancesSocialCreditCodeIsNotNull() {
            addCriterion("brances_social_credit_code is not null");
            return (Criteria) this;
        }

        public Criteria andBrancesSocialCreditCodeEqualTo(String value) {
            addCriterion("brances_social_credit_code =", value, "brancesSocialCreditCode");
            return (Criteria) this;
        }

        public Criteria andBrancesSocialCreditCodeNotEqualTo(String value) {
            addCriterion("brances_social_credit_code <>", value, "brancesSocialCreditCode");
            return (Criteria) this;
        }

        public Criteria andBrancesSocialCreditCodeGreaterThan(String value) {
            addCriterion("brances_social_credit_code >", value, "brancesSocialCreditCode");
            return (Criteria) this;
        }

        public Criteria andBrancesSocialCreditCodeGreaterThanOrEqualTo(String value) {
            addCriterion("brances_social_credit_code >=", value, "brancesSocialCreditCode");
            return (Criteria) this;
        }

        public Criteria andBrancesSocialCreditCodeLessThan(String value) {
            addCriterion("brances_social_credit_code <", value, "brancesSocialCreditCode");
            return (Criteria) this;
        }

        public Criteria andBrancesSocialCreditCodeLessThanOrEqualTo(String value) {
            addCriterion("brances_social_credit_code <=", value, "brancesSocialCreditCode");
            return (Criteria) this;
        }

        public Criteria andBrancesSocialCreditCodeLike(String value) {
            addCriterion("brances_social_credit_code like", value, "brancesSocialCreditCode");
            return (Criteria) this;
        }

        public Criteria andBrancesSocialCreditCodeNotLike(String value) {
            addCriterion("brances_social_credit_code not like", value, "brancesSocialCreditCode");
            return (Criteria) this;
        }

        public Criteria andBrancesSocialCreditCodeIn(List<String> values) {
            addCriterion("brances_social_credit_code in", values, "brancesSocialCreditCode");
            return (Criteria) this;
        }

        public Criteria andBrancesSocialCreditCodeNotIn(List<String> values) {
            addCriterion("brances_social_credit_code not in", values, "brancesSocialCreditCode");
            return (Criteria) this;
        }

        public Criteria andBrancesSocialCreditCodeBetween(String value1, String value2) {
            addCriterion("brances_social_credit_code between", value1, value2, "brancesSocialCreditCode");
            return (Criteria) this;
        }

        public Criteria andBrancesSocialCreditCodeNotBetween(String value1, String value2) {
            addCriterion("brances_social_credit_code not between", value1, value2, "brancesSocialCreditCode");
            return (Criteria) this;
        }

        public Criteria andBrancesOrganizationCodeIsNull() {
            addCriterion("brances_organization_code is null");
            return (Criteria) this;
        }

        public Criteria andBrancesOrganizationCodeIsNotNull() {
            addCriterion("brances_organization_code is not null");
            return (Criteria) this;
        }

        public Criteria andBrancesOrganizationCodeEqualTo(String value) {
            addCriterion("brances_organization_code =", value, "brancesOrganizationCode");
            return (Criteria) this;
        }

        public Criteria andBrancesOrganizationCodeNotEqualTo(String value) {
            addCriterion("brances_organization_code <>", value, "brancesOrganizationCode");
            return (Criteria) this;
        }

        public Criteria andBrancesOrganizationCodeGreaterThan(String value) {
            addCriterion("brances_organization_code >", value, "brancesOrganizationCode");
            return (Criteria) this;
        }

        public Criteria andBrancesOrganizationCodeGreaterThanOrEqualTo(String value) {
            addCriterion("brances_organization_code >=", value, "brancesOrganizationCode");
            return (Criteria) this;
        }

        public Criteria andBrancesOrganizationCodeLessThan(String value) {
            addCriterion("brances_organization_code <", value, "brancesOrganizationCode");
            return (Criteria) this;
        }

        public Criteria andBrancesOrganizationCodeLessThanOrEqualTo(String value) {
            addCriterion("brances_organization_code <=", value, "brancesOrganizationCode");
            return (Criteria) this;
        }

        public Criteria andBrancesOrganizationCodeLike(String value) {
            addCriterion("brances_organization_code like", value, "brancesOrganizationCode");
            return (Criteria) this;
        }

        public Criteria andBrancesOrganizationCodeNotLike(String value) {
            addCriterion("brances_organization_code not like", value, "brancesOrganizationCode");
            return (Criteria) this;
        }

        public Criteria andBrancesOrganizationCodeIn(List<String> values) {
            addCriterion("brances_organization_code in", values, "brancesOrganizationCode");
            return (Criteria) this;
        }

        public Criteria andBrancesOrganizationCodeNotIn(List<String> values) {
            addCriterion("brances_organization_code not in", values, "brancesOrganizationCode");
            return (Criteria) this;
        }

        public Criteria andBrancesOrganizationCodeBetween(String value1, String value2) {
            addCriterion("brances_organization_code between", value1, value2, "brancesOrganizationCode");
            return (Criteria) this;
        }

        public Criteria andBrancesOrganizationCodeNotBetween(String value1, String value2) {
            addCriterion("brances_organization_code not between", value1, value2, "brancesOrganizationCode");
            return (Criteria) this;
        }

        public Criteria andBrancesUnitDetailedNameIsNull() {
            addCriterion("brances_unit_detailed_name is null");
            return (Criteria) this;
        }

        public Criteria andBrancesUnitDetailedNameIsNotNull() {
            addCriterion("brances_unit_detailed_name is not null");
            return (Criteria) this;
        }

        public Criteria andBrancesUnitDetailedNameEqualTo(String value) {
            addCriterion("brances_unit_detailed_name =", value, "brancesUnitDetailedName");
            return (Criteria) this;
        }

        public Criteria andBrancesUnitDetailedNameNotEqualTo(String value) {
            addCriterion("brances_unit_detailed_name <>", value, "brancesUnitDetailedName");
            return (Criteria) this;
        }

        public Criteria andBrancesUnitDetailedNameGreaterThan(String value) {
            addCriterion("brances_unit_detailed_name >", value, "brancesUnitDetailedName");
            return (Criteria) this;
        }

        public Criteria andBrancesUnitDetailedNameGreaterThanOrEqualTo(String value) {
            addCriterion("brances_unit_detailed_name >=", value, "brancesUnitDetailedName");
            return (Criteria) this;
        }

        public Criteria andBrancesUnitDetailedNameLessThan(String value) {
            addCriterion("brances_unit_detailed_name <", value, "brancesUnitDetailedName");
            return (Criteria) this;
        }

        public Criteria andBrancesUnitDetailedNameLessThanOrEqualTo(String value) {
            addCriterion("brances_unit_detailed_name <=", value, "brancesUnitDetailedName");
            return (Criteria) this;
        }

        public Criteria andBrancesUnitDetailedNameLike(String value) {
            addCriterion("brances_unit_detailed_name like", value, "brancesUnitDetailedName");
            return (Criteria) this;
        }

        public Criteria andBrancesUnitDetailedNameNotLike(String value) {
            addCriterion("brances_unit_detailed_name not like", value, "brancesUnitDetailedName");
            return (Criteria) this;
        }

        public Criteria andBrancesUnitDetailedNameIn(List<String> values) {
            addCriterion("brances_unit_detailed_name in", values, "brancesUnitDetailedName");
            return (Criteria) this;
        }

        public Criteria andBrancesUnitDetailedNameNotIn(List<String> values) {
            addCriterion("brances_unit_detailed_name not in", values, "brancesUnitDetailedName");
            return (Criteria) this;
        }

        public Criteria andBrancesUnitDetailedNameBetween(String value1, String value2) {
            addCriterion("brances_unit_detailed_name between", value1, value2, "brancesUnitDetailedName");
            return (Criteria) this;
        }

        public Criteria andBrancesUnitDetailedNameNotBetween(String value1, String value2) {
            addCriterion("brances_unit_detailed_name not between", value1, value2, "brancesUnitDetailedName");
            return (Criteria) this;
        }

        public Criteria andBrancesAddressIsNull() {
            addCriterion("brances_address is null");
            return (Criteria) this;
        }

        public Criteria andBrancesAddressIsNotNull() {
            addCriterion("brances_address is not null");
            return (Criteria) this;
        }

        public Criteria andBrancesAddressEqualTo(String value) {
            addCriterion("brances_address =", value, "brancesAddress");
            return (Criteria) this;
        }

        public Criteria andBrancesAddressNotEqualTo(String value) {
            addCriterion("brances_address <>", value, "brancesAddress");
            return (Criteria) this;
        }

        public Criteria andBrancesAddressGreaterThan(String value) {
            addCriterion("brances_address >", value, "brancesAddress");
            return (Criteria) this;
        }

        public Criteria andBrancesAddressGreaterThanOrEqualTo(String value) {
            addCriterion("brances_address >=", value, "brancesAddress");
            return (Criteria) this;
        }

        public Criteria andBrancesAddressLessThan(String value) {
            addCriterion("brances_address <", value, "brancesAddress");
            return (Criteria) this;
        }

        public Criteria andBrancesAddressLessThanOrEqualTo(String value) {
            addCriterion("brances_address <=", value, "brancesAddress");
            return (Criteria) this;
        }

        public Criteria andBrancesAddressLike(String value) {
            addCriterion("brances_address like", value, "brancesAddress");
            return (Criteria) this;
        }

        public Criteria andBrancesAddressNotLike(String value) {
            addCriterion("brances_address not like", value, "brancesAddress");
            return (Criteria) this;
        }

        public Criteria andBrancesAddressIn(List<String> values) {
            addCriterion("brances_address in", values, "brancesAddress");
            return (Criteria) this;
        }

        public Criteria andBrancesAddressNotIn(List<String> values) {
            addCriterion("brances_address not in", values, "brancesAddress");
            return (Criteria) this;
        }

        public Criteria andBrancesAddressBetween(String value1, String value2) {
            addCriterion("brances_address between", value1, value2, "brancesAddress");
            return (Criteria) this;
        }

        public Criteria andBrancesAddressNotBetween(String value1, String value2) {
            addCriterion("brances_address not between", value1, value2, "brancesAddress");
            return (Criteria) this;
        }

        public Criteria andBrancesContactNumberIsNull() {
            addCriterion("brances_contact_number is null");
            return (Criteria) this;
        }

        public Criteria andBrancesContactNumberIsNotNull() {
            addCriterion("brances_contact_number is not null");
            return (Criteria) this;
        }

        public Criteria andBrancesContactNumberEqualTo(String value) {
            addCriterion("brances_contact_number =", value, "brancesContactNumber");
            return (Criteria) this;
        }

        public Criteria andBrancesContactNumberNotEqualTo(String value) {
            addCriterion("brances_contact_number <>", value, "brancesContactNumber");
            return (Criteria) this;
        }

        public Criteria andBrancesContactNumberGreaterThan(String value) {
            addCriterion("brances_contact_number >", value, "brancesContactNumber");
            return (Criteria) this;
        }

        public Criteria andBrancesContactNumberGreaterThanOrEqualTo(String value) {
            addCriterion("brances_contact_number >=", value, "brancesContactNumber");
            return (Criteria) this;
        }

        public Criteria andBrancesContactNumberLessThan(String value) {
            addCriterion("brances_contact_number <", value, "brancesContactNumber");
            return (Criteria) this;
        }

        public Criteria andBrancesContactNumberLessThanOrEqualTo(String value) {
            addCriterion("brances_contact_number <=", value, "brancesContactNumber");
            return (Criteria) this;
        }

        public Criteria andBrancesContactNumberLike(String value) {
            addCriterion("brances_contact_number like", value, "brancesContactNumber");
            return (Criteria) this;
        }

        public Criteria andBrancesContactNumberNotLike(String value) {
            addCriterion("brances_contact_number not like", value, "brancesContactNumber");
            return (Criteria) this;
        }

        public Criteria andBrancesContactNumberIn(List<String> values) {
            addCriterion("brances_contact_number in", values, "brancesContactNumber");
            return (Criteria) this;
        }

        public Criteria andBrancesContactNumberNotIn(List<String> values) {
            addCriterion("brances_contact_number not in", values, "brancesContactNumber");
            return (Criteria) this;
        }

        public Criteria andBrancesContactNumberBetween(String value1, String value2) {
            addCriterion("brances_contact_number between", value1, value2, "brancesContactNumber");
            return (Criteria) this;
        }

        public Criteria andBrancesContactNumberNotBetween(String value1, String value2) {
            addCriterion("brances_contact_number not between", value1, value2, "brancesContactNumber");
            return (Criteria) this;
        }

        public Criteria andBrancesZoningIsNull() {
            addCriterion("brances_zoning is null");
            return (Criteria) this;
        }

        public Criteria andBrancesZoningIsNotNull() {
            addCriterion("brances_zoning is not null");
            return (Criteria) this;
        }

        public Criteria andBrancesZoningEqualTo(String value) {
            addCriterion("brances_zoning =", value, "brancesZoning");
            return (Criteria) this;
        }

        public Criteria andBrancesZoningNotEqualTo(String value) {
            addCriterion("brances_zoning <>", value, "brancesZoning");
            return (Criteria) this;
        }

        public Criteria andBrancesZoningGreaterThan(String value) {
            addCriterion("brances_zoning >", value, "brancesZoning");
            return (Criteria) this;
        }

        public Criteria andBrancesZoningGreaterThanOrEqualTo(String value) {
            addCriterion("brances_zoning >=", value, "brancesZoning");
            return (Criteria) this;
        }

        public Criteria andBrancesZoningLessThan(String value) {
            addCriterion("brances_zoning <", value, "brancesZoning");
            return (Criteria) this;
        }

        public Criteria andBrancesZoningLessThanOrEqualTo(String value) {
            addCriterion("brances_zoning <=", value, "brancesZoning");
            return (Criteria) this;
        }

        public Criteria andBrancesZoningLike(String value) {
            addCriterion("brances_zoning like", value, "brancesZoning");
            return (Criteria) this;
        }

        public Criteria andBrancesZoningNotLike(String value) {
            addCriterion("brances_zoning not like", value, "brancesZoning");
            return (Criteria) this;
        }

        public Criteria andBrancesZoningIn(List<String> values) {
            addCriterion("brances_zoning in", values, "brancesZoning");
            return (Criteria) this;
        }

        public Criteria andBrancesZoningNotIn(List<String> values) {
            addCriterion("brances_zoning not in", values, "brancesZoning");
            return (Criteria) this;
        }

        public Criteria andBrancesZoningBetween(String value1, String value2) {
            addCriterion("brances_zoning between", value1, value2, "brancesZoning");
            return (Criteria) this;
        }

        public Criteria andBrancesZoningNotBetween(String value1, String value2) {
            addCriterion("brances_zoning not between", value1, value2, "brancesZoning");
            return (Criteria) this;
        }

        public Criteria andBranceMainBussineseIsNull() {
            addCriterion("brance_main_bussinese is null");
            return (Criteria) this;
        }

        public Criteria andBranceMainBussineseIsNotNull() {
            addCriterion("brance_main_bussinese is not null");
            return (Criteria) this;
        }

        public Criteria andBranceMainBussineseEqualTo(String value) {
            addCriterion("brance_main_bussinese =", value, "branceMainBussinese");
            return (Criteria) this;
        }

        public Criteria andBranceMainBussineseNotEqualTo(String value) {
            addCriterion("brance_main_bussinese <>", value, "branceMainBussinese");
            return (Criteria) this;
        }

        public Criteria andBranceMainBussineseGreaterThan(String value) {
            addCriterion("brance_main_bussinese >", value, "branceMainBussinese");
            return (Criteria) this;
        }

        public Criteria andBranceMainBussineseGreaterThanOrEqualTo(String value) {
            addCriterion("brance_main_bussinese >=", value, "branceMainBussinese");
            return (Criteria) this;
        }

        public Criteria andBranceMainBussineseLessThan(String value) {
            addCriterion("brance_main_bussinese <", value, "branceMainBussinese");
            return (Criteria) this;
        }

        public Criteria andBranceMainBussineseLessThanOrEqualTo(String value) {
            addCriterion("brance_main_bussinese <=", value, "branceMainBussinese");
            return (Criteria) this;
        }

        public Criteria andBranceMainBussineseLike(String value) {
            addCriterion("brance_main_bussinese like", value, "branceMainBussinese");
            return (Criteria) this;
        }

        public Criteria andBranceMainBussineseNotLike(String value) {
            addCriterion("brance_main_bussinese not like", value, "branceMainBussinese");
            return (Criteria) this;
        }

        public Criteria andBranceMainBussineseIn(List<String> values) {
            addCriterion("brance_main_bussinese in", values, "branceMainBussinese");
            return (Criteria) this;
        }

        public Criteria andBranceMainBussineseNotIn(List<String> values) {
            addCriterion("brance_main_bussinese not in", values, "branceMainBussinese");
            return (Criteria) this;
        }

        public Criteria andBranceMainBussineseBetween(String value1, String value2) {
            addCriterion("brance_main_bussinese between", value1, value2, "branceMainBussinese");
            return (Criteria) this;
        }

        public Criteria andBranceMainBussineseNotBetween(String value1, String value2) {
            addCriterion("brance_main_bussinese not between", value1, value2, "branceMainBussinese");
            return (Criteria) this;
        }

        public Criteria andBranceIndustryCodeIsNull() {
            addCriterion("brance_industry_code is null");
            return (Criteria) this;
        }

        public Criteria andBranceIndustryCodeIsNotNull() {
            addCriterion("brance_industry_code is not null");
            return (Criteria) this;
        }

        public Criteria andBranceIndustryCodeEqualTo(String value) {
            addCriterion("brance_industry_code =", value, "branceIndustryCode");
            return (Criteria) this;
        }

        public Criteria andBranceIndustryCodeNotEqualTo(String value) {
            addCriterion("brance_industry_code <>", value, "branceIndustryCode");
            return (Criteria) this;
        }

        public Criteria andBranceIndustryCodeGreaterThan(String value) {
            addCriterion("brance_industry_code >", value, "branceIndustryCode");
            return (Criteria) this;
        }

        public Criteria andBranceIndustryCodeGreaterThanOrEqualTo(String value) {
            addCriterion("brance_industry_code >=", value, "branceIndustryCode");
            return (Criteria) this;
        }

        public Criteria andBranceIndustryCodeLessThan(String value) {
            addCriterion("brance_industry_code <", value, "branceIndustryCode");
            return (Criteria) this;
        }

        public Criteria andBranceIndustryCodeLessThanOrEqualTo(String value) {
            addCriterion("brance_industry_code <=", value, "branceIndustryCode");
            return (Criteria) this;
        }

        public Criteria andBranceIndustryCodeLike(String value) {
            addCriterion("brance_industry_code like", value, "branceIndustryCode");
            return (Criteria) this;
        }

        public Criteria andBranceIndustryCodeNotLike(String value) {
            addCriterion("brance_industry_code not like", value, "branceIndustryCode");
            return (Criteria) this;
        }

        public Criteria andBranceIndustryCodeIn(List<String> values) {
            addCriterion("brance_industry_code in", values, "branceIndustryCode");
            return (Criteria) this;
        }

        public Criteria andBranceIndustryCodeNotIn(List<String> values) {
            addCriterion("brance_industry_code not in", values, "branceIndustryCode");
            return (Criteria) this;
        }

        public Criteria andBranceIndustryCodeBetween(String value1, String value2) {
            addCriterion("brance_industry_code between", value1, value2, "branceIndustryCode");
            return (Criteria) this;
        }

        public Criteria andBranceIndustryCodeNotBetween(String value1, String value2) {
            addCriterion("brance_industry_code not between", value1, value2, "branceIndustryCode");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}